package com.moyq5.mvc.maker.test.bean.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

/**
 * 银行列表
 * 
 * @author Moyq5
 * @date 2018年6月5日
 */
@Entity
@Table(name = "sys_bank")
@DynamicUpdate
public class SysBank implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2521081647743576452L;

	/**
	 * 联行号
	 */
	@Id
    @Column(name = "bank_no")
	private Long bankNo;
	/**
	 * 银行名称
	 */
    @Column(name = "bank_name", length = 120, nullable = false)
	private String bankName;
    /**
     * 总行联行号
     */
    @Column(name = "head_no", precision = 15, scale = 0)
   	private Long headNo;
    /**
	 * 省份
	 */
    @Column(name = "province", length = 120)
	private String province;
    /**
	 * 城市
	 */
    @Column(name = "city", length = 120)
	private String city;
	public Long getBankNo() {
		return bankNo;
	}
	public void setBankNo(Long bankNo) {
		this.bankNo = bankNo;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public Long getHeadNo() {
		return headNo;
	}
	public void setHeadNo(Long headNo) {
		this.headNo = headNo;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
   	
}
